/**
 * [lib-43671]mergeUrlWithToken
 * [index-2554]getDrmToken
 * [lib-43640]assemblyPath
 * [index-34943]getBkn
 * https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/                                                                                                                                                                                                                                                                                                                                                                                                  master_playlist.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a
 * 第一层M3U8的请求地址
 * https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/voddrm.token.dWluPTE2MTM3MTI0MTQ7c2tleT1AcVViWmJGVFR6O3Bza2V5PTdrN0o3NmR6c3g4dlRxeHdRVlo2cGhXc29Qek16bk1NWSp3aFlMUkFndGdfO3Bsc2tleT0wMDA0MDAwMDAyNzIzYmUyZDE1MWE0MWI1NjQzZTQ4OTMzM2M2MzU2ZDljZTM5YzkxNTIyYTgxMThlZThiNGYxOTNhOGFlM2E1YTA0NTgzY2E3Y2U2NjNlO2V4dD07dWlkX3R5cGU9MDt1aWRfb3JpZ2luX3VpZF90eXBlPTA7dWlkX29yaWdpbl9hdXRoX3R5cGU9MDtjaWQ9NDY0OTMwO3Rlcm1faWQ9MTAzNzY1NDc2O3ZvZF90eXBlPTA=.master_playlist.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a
 * https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/voddrm.token.dWluPTE2MTM3MTI0MTQ7c2tleT1AcVViWmJGVFR6O3Bza2V5PTdrN0o3NmR6c3g4dlRxeHdRVlo2cGhXc29Qek16bk1NWSp3aFlMUkFndGdfO3Bsc2tleT0wMDA0MDAwMDAyNzIzYmUyZDE1MWE0MWI1NjQzZTQ4OTMzM2M2MzU2ZDljZTM5YzkxNTIyYTgxMThlZThiNGYxOTNhOGFlM2E1YTA0NTgzY2E3Y2U2NjNlO2V4dD07dWlkX3R5cGU9MDt1aWRfb3JpZ2luX3VpZF90eXBlPTA7dWlkX29yaWdpbl9hdXRoX3R5cGU9MDtjaWQ9NDY0OTMwO3Rlcm1faWQ9MTAzNzY1NDc2O3ZvZF90eXBlPTA=.master_playlist.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a

 */
/**
 * https://playvideo.qcloud.com/getplayinfo/v2/1258712167/3701925922065222593?t=6168e294&sign=d14131b985c60bbd9818c62dc4add322&us=3914999479763971229&exper=0

 */
const e = {
    appID: "1258712167",

    exper: 0,
    fileID: "3701925922065222593",

playRateMemory: true,
sign: "c9088330b243166fa4d0bc029a5c253e",
t: "616a2bf9",
timeout: 5000,
us: "3597617811936659077"
}
const x1 = {
    "code": 0,
    "message": "",
    "requestId": "1db7ab7fab9349fb9aa03c700c7b8103",
    "playerInfo": {
        "playerId": "0",
        "name": "default",
        "defaultVideoClassification": "SD",
        "videoClassification": [
            {
                "id": "FLU",
                "name": "流畅",
                "definitionList": [10, 510, 210, 610, 10046, 710]
            },
            {
                "id": "SD", "name": "标清", "definitionList": [20, 520, 220, 620, 10047, 720]
            },
            {
                "id": "HD",
                "name": "高清",
                "definitionList": [30, 530, 230, 630, 10048, 730]
            },
            {
                "id": "FHD", "name": "全高清", "definitionList": [40, 540, 240, 640, 10049, 740]
            },
            {
                "id": "2K",
                "name": "2K",
                "definitionList": [70, 570, 270, 670, 370, 770]
            },
            {
                "id": "4K", "name": "4K", "definitionList": [80, 580, 280, 680, 380, 780]
            },
            {
                "id": "AUDIO",
                "name": "纯音频",
                "definitionList": [1100, 1110, 1120, 1130, 1140, 1010, 1020]
            }
        ],
        "logoLocation": "1",
        "logoPic": "",
        "logoUrl": "",
        "patchInfo": [
            {"location": 0, "link": "", "type": "0", "url": ""},
            {
                "location": 1,
                "link": "",
                "type": "0",
                "url": ""
            },
            {"location": 2, "link": "", "type": "0", "url": ""}
        ]
    },
    "coverInfo": {"coverUrl": "https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/coverBySnapshot_10_0.jpg?t=6168e294&exper=0&us=3914999479763971229&sign=d1f041596fc7c33981a58952f151c0e2"},
    "videoInfo": {
        "basicInfo": {
            "name": "ke_rec-edit-3701925922059877114-3701925922060817347-3701925922064160912-3701925922064541328",
            "description": "",
            "tags": []
        },
        "drm": {"definition": 10},
        "masterPlayList": {
            "idrAligned": false,
            "url": "https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/master_playlist.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a",
            "definition": 10000,
            "md5": "7b9f519ca042a4d845e65c69963429cc"
        },
        "transcodeList": [
            {
                "url": "https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/v.f30739.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a",
                "definition": 30739,
                "duration": 7061,
                "floatDuration": 7061.330078125,
                "size": 291814319,
                "totalSize": 291814319,
                "bitrate": 330536,
                "height": 270,
                "width": 416,
                "container": "hls,applehttp",
                "md5": "ab7596be65e100b315ae8e37e519ce97",
                "videoStreamList": [{"bitrate": 286781, "codec": "h264", "fps": 15, "height": 270, "width": 416}],
                "audioStreamList": [{"bitrate": 43755, "codec": "aac", "samplingRate": 44100}],
                "templateName": "kt_flu"
            },
            {
            "url": "https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/v.f30740.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a",
            "definition": 30740,
            "duration": 7061,
            "floatDuration": 7061.330078125,
            "size": 504595564,
            "totalSize": 504595564,
            "bitrate": 571600,
            "height": 480,
            "width": 742,
            "container": "hls,applehttp",
            "md5": "32bb4a61a4fabb8e74bd43ee4d5f4ad7",
            "videoStreamList": [{"bitrate": 527845, "codec": "h264", "fps": 15, "height": 480, "width": 742}],
            "audioStreamList": [{"bitrate": 43755, "codec": "aac", "samplingRate": 44100}],
            "templateName": "kt_sd"
        }, {
            "url": "https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/v.f30741.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a",
            "definition": 30741,
            "duration": 7061,
            "floatDuration": 7061.330078125,
            "size": 933909210,
            "totalSize": 933909210,
            "bitrate": 1057979,
            "height": 720,
            "width": 1112,
            "container": "hls,applehttp",
            "md5": "cea93c3c62b3bcf5bc6a34926f2fe88e",
            "videoStreamList": [{"bitrate": 1014224, "codec": "h264", "fps": 15, "height": 720, "width": 1112}],
            "audioStreamList": [{"bitrate": 43755, "codec": "aac", "samplingRate": 44100}],
            "templateName": "kt_hd"
        }, {
            "url": "https://1258712167.vod2.myqcloud.com/fb8e6c92vodtranscq1258712167/a2a51c3f3701925922065222593/drm/v.f56150.m3u8?t=6168e294&exper=0&us=3914999479763971229&sign=a0a3a2a67e4593bf9157b2e1b487567a",
            "definition": 56150,
            "duration": 7061,
            "floatDuration": 7061.330078125,
            "size": 1705502291,
            "totalSize": 1705502291,
            "bitrate": 1932134,
            "height": 1024,
            "width": 1584,
            "container": "hls,applehttp",
            "md5": "44fcb7bab19721367a22275d1a191a24",
            "videoStreamList": [{"bitrate": 1888379, "codec": "h264", "fps": 15, "height": 1024, "width": 1584}],
            "audioStreamList": [{"bitrate": 43755, "codec": "aac", "samplingRate": 44100}],
            "templateName": "edu_ke_fhd_raw"
        }]
    }
}
const cookies = {
    'pgv_pvid':'8169224299',
    'RK':'LlgEzcQeYz',
    'ptcz':'c4ca41158806c1329f3540b05e7740e211e8fbaa27892cf69b92376db884651b',
    'iswebp':'1',
    'ts_uid':'5430993300',
    'luin':'o1613712414',
    'ke_login_type':'1',
    'localInterest':'[2002,2008,2009,3030]',
    '_pathcode':'0.31743151180583395',
    'tdw_auin_data':'-',
    'tdw_data_testid':'',
    'tdw_data_flowid':'',
    'tdw_first_visited':'1',
    'Hm_lvt_0c196c536f609d373a16d246a117fd44':'1630573073,1630633137,1630911743,1631671433',
    'pgv_info':'ssid=s6847927812',
    '_qpsvr_localtk':'0.5649596581004714',
    'uin':'o1613712414',
    'skey':'@qUbZbFTTz',
    'lskey':'0001000026e86c1a905c19c8a0cdb06ef33d30421d730d6e008bb71dc6c3c0823ead4dedd45cba222a5074dd',
    'pt4_token':'WbtSehMY*MxXe1UyAF*uaOgGSwajET4T*Y5rlKhr2O0_',
    'p_skey':'7k7J76dzsx8vTqxwQVZ6phWsoPzMznMMY*whYLRAgtg_',
    'p_lskey':'0004000002723be2d151a41b5643e489333c6356d9ce39c91522a8118ee8b4f193a8ae3a5a04583ca7ce663e',
    'auth_version':'2.0',
    'mix_login_mode':'true',
    'uid_type':'0',
    'uin':'1613712414',
    'p_uin':'1613712414',
    'p_luin':'1613712414',
    'uid_uin':'1613712414',
    'uid_origin_uid_type':'0',
    'uid_origin_auth_type':'0',
    'tdw_data':'{"ver4":"4","ver5":"","ver6":"","refer":"","from_channel":"","path":"aB-0.31743151180583395","auin":"-","uin":"1613712414","real_uin":"613712414"}',
    'ts_last':'ke.qq.com/webcourse/464930/103765476',
    'Hm_lpvt_0c196c536f609d373a16d246a117fd44':'1631671546',
    'sessionPath':'16316716510702494536345',
    'tdw_data_new_2':'{"auin":"-","sourcetype":"","sourcefrom":"","ver9":"1613712414","uin":"1613712414","visitor_id":"5372113296504784","sessionPath":"16316716510702494536345","ver10":"","url_page":"personalcenter_classschedule","url_module":"","url_position":""}',

}
/**
 * 684912808
 * 684912808
 * https://ke.qq.com/cgi-bin/qcloud/get_token?term_id=103765476&fileId=3701925922065222593&bkn=684912808&t=0.3982
 *
 */
const token = {
    "result":{
        "sign":"ae9d19916827574cfb80d8faaec5c852",
        "t":"616a36d5",
        "exper":0,
        "us":"4969082133731479601"
    },
    "retcode":0
}